package com.coupon.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @author :wn
 * @program : coupon
 * @descript :
 * @create :2021-01-06 14:40
 */

public class CouponList implements Serializable {
    private static final long serialVersionUID = 1430921076010295881L;
    private int id;
    private String phone;
    private String name;
    @JsonFormat(pattern ="yyyy-MM-dd HH:mm:ss" ,timezone = "GMT+8")
    private Date collectExpire;
    @JsonFormat(pattern ="yyyy-MM-dd HH:mm:ss" ,timezone = "GMT+8")
    private Date useExpire;
    private boolean isUsed;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Date getCollectExpire() {
        return collectExpire;
    }

    public void setCollectExpire(Date collectExpire) {
        this.collectExpire = collectExpire;
    }

    public Date getUseExpire() {
        return useExpire;
    }

    public void setUseExpire(Date useExpire) {
        this.useExpire = useExpire;
    }

    public boolean isUsed() {
        return isUsed;
    }

    public void setUsed(boolean used) {
        isUsed = used;
    }
}
